package com.dhcc.bpm.business.papc.service;

import com.dhcc.bpm.business.papc.entity.FtpInfoConfig;
import com.dhcc.bpm.business.papc.vo.FtpInfoConfigVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * FTP参数表  服务类
 *
 * @author liuzhao
 * @since 2020-05-16
 */
public interface IFtpInfoConfigService extends BaseService<FtpInfoConfig> {

    /**
     * @param page
     * @param FtpInfoConfig
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.business.papc.vo.FtpInfoConfigVO>
     * @Description 自定义分页
     * @Author liuzhao
     * @Date 2020/5/21 14:15
     **/
    IPage<FtpInfoConfigVO> selectFtpInfoConfigPage(IPage<FtpInfoConfigVO> page, FtpInfoConfigVO ftpInfo);

    /**
     * @param id
     * @return com.dhcc.bpm.business.papc.entity.FtpInfoConfig
     * @Description 详情
     * @Author liuzhao
     * @Date 2020/5/21 14:15
     **/
    FtpInfoConfig selectFtpInfoConfigById(Long id);

    /**
     * @param FtpInfoConfig
     * @return boolean
     * @Description 新增或修改
     * @Author liuzhao
     * @Date 2020/5/21 14:15
     **/
    @Override
    boolean saveOrUpdate(FtpInfoConfig ftpInfoConfig);

    /**
     * @param ids
     * @return boolean
     * @Description 删除
     * @Author liuzhao
     * @Date 2020/5/21 14:14
     **/
    boolean deleteFtpInfoConfigByIds(String ids);

    /**
     * @param FtpInfoConfig
     * @return java.util.List<com.dhcc.bpm.business.papc.entity.FtpInfoConfig>
     * @Description 查询全部信息
     * @Author liuzhao
     * @Date 2020/5/21 14:21
     **/
    List<FtpInfoConfig> selectFtpInfoConfigAll(FtpInfoConfig ftpInfoConfig);
}
